package com.ruibang.glass.quality.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruibang.glass.quality.domain.req.QualityDeflectReq;
import com.ruibang.glass.quality.domain.req.SemiCheckReportReq;
import com.ruibang.glass.quality.domain.resp.SemiCheckDetailData;
import com.ruibang.glass.quality.entity.QualityDeflect;
import com.teaming.cloud.framework2.common.pojo.PageRequest;
import com.teaming.cloud.framework2.common.pojo.PageResult;

import java.util.List;

/**
 * <p>
 * 半成品挠度信息 服务类
 * </p>
 *
 * @author wujie
 * @since 2024-03-11
 */
public interface QualityDeflectService extends IService<QualityDeflect> {

    /***
     * 新增半成品挠度信息
     * @param qualityDeflect
     */
    void saveInfo(QualityDeflect qualityDeflect);

    /***
     * 更新半成品挠度信息
     * @param qualityDeflect
     */
    void updateInfo(QualityDeflect qualityDeflect);

    /***
     * 删除
     * @param id
     */
    void delete(String id);

    /***
     * 分页列表查询半成品挠度信息
     * @param pageRequest
     * @return
     */
    PageResult<QualityDeflect> queryPage(PageRequest<QualityDeflectReq> pageRequest);

    /***
     * 非分页列表查询半成品挠度信息
     * @param deflectReq
     * @return
     */
    List<QualityDeflect> queryQualityDeflect(QualityDeflectReq deflectReq);

    List<SemiCheckDetailData> queryDeflectCheckData(SemiCheckReportReq reportReq);
}
